//
//  DAOBasic.h
//  XMDLearn
//
//  Created by apple on 16/4/12.
//  Copyright © 2016年 hao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD.h"

@interface DAOBasic : NSObject

// 通用基础文件（作为网络请求）
-(void)post:(NSString *)url parameters:(NSDictionary *)parameters dataModel:(Class)dataModel successHandler:(void(^)(id model))successBlock errorHandler:(void(^)(NSString *code,NSString *message))errorBlock;

@end
